package com.mming.sso.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeUtil {
    public static long getTimestamp10() {
        return System.currentTimeMillis() / 1000;
    }

    public static String getDatetime() {
        SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return df.format(new Date());
    }
}
